import request from '@/http'
import config from '@/http/config'

const api = `${config.assist.ip}/api/assist`

/*
* 获取实施细则树形结构
* method： get
* params:{}
* dataSource-数据类型  fushen,waiguan,wuxiao,susong
* */
export const getList = (data) => request({
  url: `${api}/yasf/mlList`,
  method: 'get',
  params:data
})

export const getContentist = (params) => request.get(`${api}/yasf/getContent`, { params })

export const queryContentist = (params) => request.get(`${api}/yasf/searchContent`, { params })
